﻿@{
    ViewData["Title"] = "Create";
}


<form class="layui-form" action="" style="width:95%" lay-filter="form-create">
    <div class="layui-form-item">
        <label class="layui-form-label">IP</label>
        <div class="layui-input-block">
            <input type="text" name="ipAddress" lay-verify="required|title" autocomplete="off" placeholder="请输入IP/域名" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">端口</label>
        <div class="layui-input-block">
            <input type="text" name="port" lay-verify="required|number" autocomplete="off" placeholder="请输入端口" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-block" >
            <select name="addressStatus">
                <option value="1">可用</option>
                <option value="0">不可用</option>
            </select>
        </div>
    </div>

    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="submit" id="submit" value="确认">
    </div>
    @Html.AntiForgeryToken()
</form>
@section Scripts{
    <script>
        layui.use(['form'], function () {
            var form = layui.form;
            var $ = layui.jquery
        });
    </script>
}
